package com.springboot.frame.comm.render;

import java.io.IOException;
import java.io.Writer;
import java.util.Map;

/**
 * 模板渲染接口
 *
 * @author madman
 */
public interface Render {

  /**
   * 渲染
   *
   * @param renderData 渲染数据
   * @param writer 输出
   * @throws IOException 渲染异常
   */
  void process(Map<String, Object> renderData, Writer writer) throws IOException;

}
